<?php
/**
 * iZAP izap_videos
 *
 * @package Elgg videotizer, by iZAP Web Solutions.
 * @license GNU Public License version 3
 * @Contact iZAP Team "<support@izap.in>"
 * @Founder Tarun Jangra "<tarun@izap.in>"
 * @link http://www.izap.in/
 * @version 3.8b
 */
$english = array (
        'izap_videos' => "iZAP Videos",
        'izap_videos:view_all' => 'View all',
        'item:object:izap_recycle_bin' => 'Videos in trash',
        'videos' => "Videos",
        'item:object:izapVideoQueue' => 'Total videos in queue',
        'izap_videos:videos' => "My videos",
        'izap_videos:add' => "Add new video",
        'izap_videos:uploadVideo' => "Upload video",
        'izap_videos:addgroupVideo' => "Add new group video",
        'izap_videos:user' => "%s's video",
        'izap_videos:title' => "Enter the title",
        'izap_videos:getvideo' => "Get video",
        'izap_videos:access' => "Access",
        'izap_videos:tags' => "Video tags",
        'izap_videos:blank' => "Please enter the valid url",
        'izap_videos:blanktitle' => "Please enter the title",
        'izap_videos:saveerror' => "Sorry, video can not be saved",
        'izap_videos:saved' => "Your video has been saved successflly.",
        'izap_videos:everyone' => "All videos",
        'izap_videos:time' => "Added on %s",
        'izap_videos:remove' => "Do you want to remove this video ?",
        'izap_videos:deleted' => "Video has been deleted successfully",
        'izap_videos:notdeleted' => "Video was not deleted",
        'izap_videos:wrongid' => "Sorry, video is either removed or wrong video id",
        'izap_videos:frnd' => "My friends' videos",
        'izap_videos:userfrnd' => "%s's friends' Videos",
        'izap_videos:all' => "All site videos",
        'izap_videos:river:added' => "%s added a new ",
        'izap_videos:river:video' => "Video",
        'izap_videos:river:annotate' => " a comment on ",
        'izap_videos:widget' => "List of the latest vidoes add by users",
        'item:object:izap_videos' => "Videos",
        'izap_videos:numbertodisplay' => "Number of videos to be displayed.",
        'izap_videos:play' => "Play you chosen Video",
        'izap_videos:play:widget' => "This widget will play your chosen video. One at a time",
        'izap_videos:chosevideo' => "Choose a video to play",
        'izap_videos:notfound' => "No video has been added yet.",
        'izap_videos:error' => "Error fetching data from remote url. Either wrong url or video not found.",
        'izap_videos:addtoyour' => "Copy this video to my videos.",
        'izap_videos:condition' => "* Above title, tags and description will overwrite the original information.<br>* Video source is required(Url or Upload)",
        'izap_videos:geterror' => "Can't get video from the site. Site is not responding.",
        'izap_videos:description' => "Description",
        'izap_videos:edit' => "Edit",
        'izap_videos:editVideo' => "Edit video",
        'izap_videos:copyVideo' => "Copy video",
        'izap_videos:blank:title' => "Title can't be left blank",
        'izap_videos:save' => "Save",
        'izap_videos:missingfields' => "Required fields are missing.",
        'izap_videos:autoplay' => "Make autoplay",
        'izap_videos:views' => "Total views",
        'izap_videos:tagcloud' => "Top video tags",
        'izap_videos:top' => "Top videos",
        'izap_videos:fopenerror' => "Ask your adminstrator to put <b>'allow_url_fopen = On'</b> in your php.ini file.",
        'izap_videos:errorCode' => "Error fetching data from remote url. Either wrong url or video not found or this video is not embedable in other sites.",
        'izap_videos:errorCode101' => "",
        'izap_videos:errorCode102' => "",
        'izap_videos:errorCodeArray' => "Error fetching data from remote url. Either wrong url or video not found or this video is not embedable in other sites.",
        'izap_videos:latest' => "Latest videos",
        'izap_videos:groups' => "%s's videos",
        'izap_videos:group:enablevideo' => "Enable group videos",
        'izap_videos:groupvideos' => "Group videos",
        'izap_videos:izapUploadOption' => "%s",
        'izap_videos:upload' => "Upload video file (Supporting 3gp, avi, mp4, flv, wmv)",
        'izap_videos:converterror' => "Error converting video.",
        'izap_videos:izapBorderColor1' => "Enter background color for the player: (color code format: 0x13ABEC)",
        'izap_videos:izapBorderColor2' => "Enter foregrond color for the player: (color code format: 0x13ABEC)",
        'izap_videos:izapBarColor' => "Enter bar color for the player: (color code without '#')",
        'izap_videos:river:titled' => '%s added a new video titled %s',
        'izap_videos:latestvideos' => "Latest",
        'izap_videos:topViewed' => "Top viewed",
        'izap_videos:topCommented' => "Top commented",
        'izap_videos:embedCode' => "Sharing and embed code",
        'izap_videos:videoGal' => "iZAP video gallery",
        'izap_videos:noTagVideo' => "No videos for this tag.",
        'izap_videos:choosemethod' => 'Choose method',
        'izap_videos:noVideo' => 'Sorry no video is found',
        'izap_videos:izapPhpInterpreter' => 'PHP interpreter path e.g /usr/bin/php',
        'izap_videos:izapFfmpegConvert' => 'FFMPEG Convert command. (Don\'t change "[inputs]")',
        'izap_videos:izapFfmpegWatermark' => 'Video watermarking library path.',
        'izap_videos:izapFfmpegImage' => 'FFMPEG snapshot command. (Don\'t change "[inputs]")',
        'izap_videos:processed' => 'Video is queued up for conversion.',
        'izap_videos:izapIndexPageWidget' => 'Include videos widget on index page',
        'izap_videos:izapTopBarWidget' => 'Add upload button on elgg top bar',
        'izap_videos:copiedFrom' => 'Copied from',
        'izap_videos:noDescription' => 'No description available',
        'izap_videos:queueManagement' => 'Queue management',
        'izap_videos:queueStatus' => 'Queue status',
        'izap_videos:notRunning' => 'Not running',
        'izap_videos:running' => 'Running',
        'izap_videos:error_videos' => 'Videos having error',
        'izap_videos:queuedFilesTotal' => 'Total files',
        'izap_videos:resetNow' => 'Reset now',
        'izap_videos:deleteNow' => 'Delete now',
        'izap_video:deleteQueue' => 'Are you sure want to delete the queue. It will delete all the queued videos and not converted videos and there is no come back.',
        'izap_videos:maxFileSize' => 'Maximum file size (%s Mb)',
        'izap_videos:enterMaxFileSize' => '',
        'izap_videos:fileNotFound' => 'File not found.',
        'izap_videos:noOptionSelected' => 'Video adding is disabled by the admin.',
        'izap_videos:izapFfmpegObject' => 'Image path or text to be watermarked.',
        'izap_videos:izapFfmpegObjectMarque' => 'Do you text to marquee ?',
        'izap_videos:izapFfmpegObjectPosition' => 'Where do you want the watermark ?',
        'izap_videos:comments' => 'Comments',
        'izap_videos:restore' => 'Restore',
        'izap_videos:send_user_message' => 'Send message to user',
        'izap_videos:error_reason' => 'Error reason : %s',
        'izap_videos:embed_text' => 'Embed code:',
        'izap_videos:more' => 'More',
        'izap_videos:less' => 'Less',
        'izap_videos:related_videos' => 'Related videos',
        'izap_videos:click_to_play' => 'Click to play',

        'izap_videos:form:upload' => 'Upload',
        'izap_videos:form:enterUrl' => 'Enter url',
        'izap_videos:form:embedCode' => 'Embed code',
        'izap_videos:form:izapVideoUrl' => 'Enter your video url.* <a href="#supportedSites">Supported sites</a>',
        'izap_videos:form:izapSupportedSites' => 'Supported sites.',
        'izap_videos:form:izapVideoFile' => 'Upload video file * <a href="#supportedFormats">Supported formats</a>',
        'izap_videos:form:izapSupportedFormats' => 'Supported video formats.',
        'izap_videos:form:izapVideoEmbed' => 'Enter the compelete embed code *',
        'izap_videos:form:izapVideoTitle' => 'Enter the title for the video *',
        'izap_videos:form:izapVideoDescription' => 'Enter video description',
        'izap_videos:form:izapVideoTags' => 'Enter tags for the video',
        'izap_videos:form:izapVideoAccess' => 'Choose access for the video',
        'izap_videos:form:izapVideoOptionalImage' => 'Override thumbnail',
        'izap_videos:form:izapAccessMsg' => '<em class="izap_normal_text izap_notice">You can not update access level until the completion of conversion process.</em>',
        'izap_videos:form:izapEditMsg' => '<em class="izap_normal_text izap_notice">You can not edit until the completion of conversion process.</em>',
        'izap_videos:form:izapTrashedVideoMsg' => '<em class="izap_normal_text izap_notice">Unsupported video formate.</em>',



        // error messages
        'izap_videos:error:uploadNotSupported' => 'Uploading of files is not supported yet.',
        'izap_videos:error:notUploaded' => 'Error in uploading file',
        'izap_videos:error:invalidInput' => 'Nothing to process for, please provide some input.',
        'izap_videos:error:zeroFile' => 'Provided file is empty or no input file.',
        'izap_videos:error:maxFile' => 'Provided file is larger then maximum allowed size.',
        'izap_videos:error:embedCode' => '',
        'izap_videos:error:videoOptionBlank' => 'Video option can\' be left blank.',
        'izap_videos:error:adminSettingsReset' => 'Settings can\'t be reset.',
        'izap_videos:error:unknownFileType' => 'Un recognised input.',
        'izap_videos:error:notValidUrl' => 'Invalid url',
        'izap_videos:error:unsupportedUrl' => 'Un supported url',
        'izap_videos:error:code:101' => 'Can\'t get video from the site. Site is not responding.',
        'izap_videos:error:code:102' => 'This video doesn\'t belong to veoh, please copy orignal veoh video.',
        'izap_videos:error:code:103' => 'Un supported url',
        'izap_videos:error:code:104' => 'Error in uploding file',
        'izap_videos:error:code:105' => 'Provided file is empty or no input file.',
        'izap_videos:error:code:106' => 'Unsupported file format.',
        'izap_videos:error:code:107' => 'Provided file is larger then maximum allowed size.',
        'izap_videos:error:code:108' => 'Not valid video id.',
        'izap_videos:error:code:109' => '',
        'izap_videos:error:code:110' => '',
        'izap_videos:error:code:111' => '',
        'izap_videos:error:code:112' => '',
        'izap_videos:error:code:113' => '',
        'izap_videos:error:code:114' => '',
        'izap_videos:error:code:Array' => 'Unknown error while fetching the video. This might be because of the limited rights to the videos.',
        'izap_videos:error:emptyTitle' => 'Video title can\'t be left blank.',
        'izap_videos:error:save' => 'Error in saving the video.',
        'izap_videos:error:unsupported' => 'Unsupported file format.',
        'izap_videos:error:emptyEmbedCode' => 'Please provide the embed code.',
        'izap_videos:error:sqliteDrivers' => 'Please install PDO sqlite drivers to enable onserver support.',
        'izap_videos:error:saving_thumb' => 'Error saving thumb, unable to write the file on server.',

        // success message
        'izap_videos:success:videoCopied' => 'Video copied successfully',
        'izap_videos:success:videoNotCopied' => 'Video not copied successfully',
        'izap_videos:success:adminSettingsSaved' => 'Settings have been saved successfully.',
        'izap_videos:success:adminSettingsReset' => 'Settings have been reset successfully.',
        'izap_videos:success:save' => 'Video saved successfully',

        //notify messages
        'izap_videos:newVideoAdded' => 'New video added',
        'izap_videos:notifySub:videoConverted' => 'Video has been converted.',
        'izap_videos:notifyMsg:videoConverted' => 'Your video has been converted successfully. Click here to see your converted video: %s',
        'izap_videos:notifySub:videoNotConverted' => 'Video not converted.',
        'izap_videos:notifyAdminMsg:videoNotConverted' => 'There was an error while one of the user was trying to upload the video.<br />Error: <b>%s</b>',
        'izap_videos:notifyUserMsg:videoNotConverted' => 'There was an error while processing your video. Admin has been notified for this.',
        'izap_videos:notifySub:unConverted_video' => 'There is an Un-converted video',
        'izap_videos:notifyMsg:unConverted_video' => 'There was an error while one of the user was trying to upload the video. Un-converted video is located at <br /><b>%s</b>',
        'izap_videos:notifySub:video_deleted' => 'Your video has been deleted',



        // admin settings
        'izap_videos:adminSettings:tabs_settings' => 'Settings',
        'izap_videos:adminSettings:tabs_queue_status' => 'Queue status',
        'izap_videos:adminSettings:tabs_server_analysis' => 'Server analysis',
        'izap_videos:adminSettings:tabs_recycle_bin' => 'Trash',
        'izap_videos:adminSettings:izapHTMLawedTags' => 'HTML tags that you want to allow while input filtering.',
        'izap_videos:adminSettings:info:izapHTMLawedTags' => 'ie. object, embed, param, p, img, b, i, ul, li, ol (seperated by comma)',

        'izap_videos:adminSettings' => 'Videos settings',
        'izap_videos:adminSettings:settings' => 'Settings for iZAP Videos',
        'izap_videos:adminSettings:gotoSettings' => 'Go to admin settings',
        'izap_videos:adminSettings:onServerVideos' => extension_loaded('pdo_sqlite')?'On server videos':'On server videos (<em class="izap_notice izap_small_text">Enable PDO sqlite drivers to use onsrever feature.</em>)',
        'izap_videos:adminSettings:offServerVideos' => 'Off server videos',
        'izap_videos:adminSettings:embedCode' => 'Embed code',
        'izap_videos:adminSettings:izapVideoOptions' => 'Video options',
        'izap_videos:adminSettings:izapPhpInterpreter' => 'Path for the PHP interpreter',
        'izap_videos:adminSettings:izapVideoCommand' => 'Video converting command',
        'izap_videos:adminSettings:izapVideoThumb' => 'Video thumbnail command',
        'izap_videos:adminSettings:izapBarColor' => 'Progress bar color',
        'izap_videos:adminSettings:izapTextColor' => 'Player text color',
        'izap_videos:adminSettings:izapButtoncolor' => 'Button color',
        'izap_videos:adminSettings:loadingcolor' => 'Progress bar color',
        'izap_videos:adminSettings:izapMaxFileSize' => 'Enter max file size (in Mb.)',
        'izap_videos:adminSettings:izapExtendVideoSupport' => 'Extend video url support from the iZAP',
        'izap_videos:adminSettings:extendVideoSupport' => 'Yes',
        'izap_videos:adminSettings:izapIndexPageWidget' => 'Include videos widget on index page',
        'izap_videos:adminSettings:addOnHomePage' => 'Yes',
        'izap_videos:adminSettings:izapTopBarWidget' => 'Include the upload text to top bar',
        'izap_videos:adminSettings:addOnTopBar' => 'Yes',
        'izap_videos:adminSettings:izapKeepOriginal' => 'Keep original file on server',
        'izap_videos:adminSettings:keep-original' => 'Yes',
        'izap_videos:adminSettings:izapGiveUsCredit' => 'Want to give us credit ?',
        'izap_videos:adminSettings:giveUsCredit' => 'Yes',
        'izap_videos:adminSettings:notForWindows' => 'Disabled fields are not for windows',
        'izap_videos:adminSettings:resetSettings' => 'Reset to defaults',
        'izap_videos:adminSettings:izap_cron_time' => 'Set cron to re-trigger queue',
        'izap_videos:adminSettings:minute' => 'One minute',
        'izap_videos:adminSettings:fiveminute' => 'Five minutes',
        'izap_videos:adminSettings:fifteenmin' => 'Fifteen minutes',
        'izap_videos:adminSettings:halfhour' => 'Half an hour',
        'izap_videos:adminSettings:hourly' => 'An hour',
        'izap_videos:adminSettings:save' => 'Save settings',
        'izap_videos:adminSettings:cron_not_installed' => '<em class="izap_normal_text izap_notice">Enable crontrigger plugin and if possible, setup crontab as suggested by <a href="http://docs.elgg.org/wiki/Cron">http://docs.elgg.org/wiki/Cron</a> to automatically trigger queue in case of sudden interruption in queue.</em>',
        'izap_videos:adminSettings:cron_off' => 'Disable',
        'izap_videos:adminSettings:messages_plugin_missing' => '<em class="izap_notice">Enable messages plugin to send reason to user for the permanent deletion of video.</em>',
        'izap_videos:adminSettings:deleted_from_trash' => 'Deleted successfully from trash.',
        'izap_videos:adminSettings:reset_queue' => 'Now queue is empty.',
        'izap_videos:adminSettings:restore_video' => 'Restored successfully.',

        'izap_videos:adminSettings:izap_display_page' => 'Choose your display page',
        'izap_videos:adminSettings:izap_default_page' => 'Default',
        'izap_videos:adminSettings:izap_left_column_page' => 'Left column',
        'izap_videos:adminSettings:izap_full_page' => 'Full page video',
        'izap_videos:adminSettings:' => '',

        // info messages
        'izap_videos:adminSettings:info:convert-command' => 'Optimized command: /path/of/ffmpeg -y -i [inputVideoPath] -vcodec libx264 -vpre hq  -b 300k  -bt 300k  -acodec libfaac  -ar 22050  -ab 48k [outputVideoPath]',
        'izap_videos:adminSettings:info:give-credit' => 'Add a link pointing to iZAP, in the footer of izap_videos plugin. Or you can shoot a thank you message at <a href="mailto:reviews@izap.in">reviews@izap.in</a>',
        'izap_videos:adminSettings:info:bg-color' => 'Give hex value of color without # eg. #FFFFFF is white. You will put "FFFFFF" ',
        'izap_videos:adminSettings:info:izapKeepOriginal' => 'Uncheck me if you do not want to keep original files',

        // add/edit form
        'izap_videos:addEditForm:ONSERVER' => 'Upload video',
        'izap_videos:addEditForm:OFFSERVER' => 'Add url',
        'izap_videos:addEditForm:EMBED' => 'Add embed code',
        'izap_videos:addEditForm:title' => 'Title',
        'izap_videos:addEditForm:videoImage' => 'Thumbnail (optional)',
        'izap_videos:addEditForm:description' => 'Description',
        'izap_videos:addEditForm:access_id' => 'Access',
        'izap_videos:addEditForm:tags' => 'Tags',
        'izap_videos:addEditForm:guid' => '',
        'izap_videos:addEditForm:container_guid' => '',
        'izap_videos:addEditForm:videoUrl' => 'Video url',
        'izap_videos:addEditForm:videoType' => '',
        'izap_videos:addEditForm:videoFile' => 'Video file',
        'izap_videos:addEditForm:videoEmbed' => 'Video embed code',
        'izap_videos:addEditForm:' => '',
        'izap_videos:addEditForm:' => '',
        'izap_videos:addEditForm:' => '',
        'izap_videos:addEditForm:' => '',
        'izap_videos:addEditForm:' => '',
        'izap_videos:addEditForm:save' => 'Save',

        'izap_videos:please_wait' => 'Please wait, till we save your data...',
        'izap_videos:my_favorites' => 'My favorites',
        'izap_videos:user_favorites' => '%s\'s favorites',
        'izap_videos:save_favorite' => 'Add favorite',
        'izap_videos:favorite_saved' => 'Video has been added to your favorite list.',
        'izap_videos:favorite_removed' => 'Video removed from your favorite list.',
        'izap_videos:remove_favorite' => 'Remove favorite',
        'izap_videos:no_favorites' => 'You not saved any favorites yet.',

        // widgets
        'izap_videos:widget:video_activities' => 'Latest video feed',
        'izap_videos:widget:video_activities:info' => 'It will all the latest videos.'
);
add_translation("en",$english);
function video_echo($key) {
  return elgg_echo('izap_videos:' . $key);
}